﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinFormsApp1
{   [Serializable]
    public class Customer
    {
        public Customer(string name)
        {
            this.customerName = name;
        }

        public Customer()
        {
            this.customerName = null;
        }

        private string customerName;

        public string name
        {
            get
            {
                return this.customerName;
            }
            set
            {
                this.customerName = value;
            }
        }

        public override string ToString()
        {
            string customer = this.customerName;
            return customer;
        }
    }
}